<template>
  <div id="BaseView">
    <a-layout style="height: 100vh">
      <a-layout-header class="header">
        <GlobaHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer"> 程序员 By 丶土方</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobaHeader from "@/components/GlobaHeader.vue";
</script>

<style scoped>
.footer {
  padding: 16px;
  text-align: center;
  background: #efefef;
}

.header {
  margin-bottom: 16px;
  box-shadow: #eee 1px 1px 5px;
}

.content {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 20px;
  padding: 20px;
  background: linear-gradient(to right, #efefef, #fff);
}
</style>
